import { RentalInfo } from '../types/contract'
import { http } from '../utils/http'

export const insertRental = (rentalInfo:RentalInfo) => {
    return http({
        method: 'POST',
        url: '/app/rental',
        data: rentalInfo
    })
}